package com.spyx.product.service;

import com.atyx.spyx.model.product.Category;
import com.atyx.spyx.vo.product.CategoryQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品三级分类 服务类
 * </p>
 *
 * @author yhp
 * @since 2024-05-15
 */
public interface CategoryService extends IService<Category> {

    IPage<Category> getPageList(Page p1, CategoryQueryVo queryVo);

    List<Category> getcategoryListbyids(List<Long> ids);

    List<Category> getAll();
}
